//
//
// BaseLogAdapter.h

#ifndef _BASE_LOGADAPTER_H_
#define _BASE_LOGADAPTER_H_

#include <string>

#include "LogManager.h"

class BaseLogAdapter
{
	public:
		BaseLogAdapter();
		virtual ~BaseLogAdapter();

		virtual bool Close() = 0;
		virtual void Flush() = 0;
		virtual void Report(void) = 0;
		virtual bool Log(const std::string& info) = 0;
		virtual LogManager::ADAPTER_TYPE AdapterType(void) = 0;
	protected:
		std::string _fmt;
		LogManager::ADAPTER_TYPE _adapterType;
};
#endif // _BASE_LOGADAPTER_H_
